<template>
  <div>
    <el-dialog title="操作确认" :visible.sync="dialogVisible" lock-scroll width="28%">
      <div class="dialog_div_new">
        <div class="dialog_middle">
          <div>
            <img src="" alt="" />
          </div>
          <p>请扫码支付</p>
        </div>
      </div>
    </el-dialog>
  </div>
</template>

<script>
export default {
  data() {
    return {
      dialogVisible: false,
    }
  },
  methods: {
    onConfirm() {
      this.dialogVisible = !this.dialogVisible
      this.$emit('onConfirm')
    },
  },
}
</script>

<style lang="scss" scoped>
::v-deep .el-dialog {
  margin-top: 33vh !important;
  border-radius: 0.187512rem;
  overflow: hidden;
  .el-dialog__body {
    padding: 0;
  }
  .el-dialog__header {
    width: 100%;
    height: 0.937559rem;
    box-sizing: border-box;
    padding: 0 0.375023rem;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    span {
      font-size: 0.300019rem;
      color: #666;
      font-weight: 600;
    }
    .el-dialog__headerbtn {
      position: static;
      .el-icon-close {
        color: #999;
        font-size: 0.48753rem;
      }
    }
  }
}
.dialog_div_new {
  width: 100%;
  height: 25vh;
  overflow: auto;
  background: #fff;
  .dialog_middle {
    width: 100%;
    height: calc(100% - 1.12507rem);
    height: 100%;
    box-sizing: border-box;
    padding-top: 0.281268rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    > div {
      width: 1.875117rem;
      height: 1.875117rem;
      border: 1px solid red;
    }
    > p {
      font-size: .262516rem;
      font-family: PingFang SC;
      font-weight: 400;
      line-height: .375023rem;
      color: #666;
    }
  }
}
</style>